/*接口访问路径配置*/

const host = location.host;

export class SettingUrl {
  // 接口通讯url集合
  static URL: any = {
    /**
     * 首页统计
     */
    home: {
      homePageInfo: "admin/bidding/homePageInfo",  //加载首页统计信息
    },
    /**
     * 基础路径配置
     */
    base: {
      enum: '/res/enum/',            //获取枚举接口
    },
    /**
     * 登录接口
     */
    login: {
      login: '/login/rbac/login',//登录接口
      logout: "/login/rbac/logout", //（get）退出登录登录
    },
    state: '/state',
    socket1: `ws://${host}/client01.ws`,
    socket2: `ws://${host}/client02.ws`,
    socket3: `ws://${host}/client03.ws`,
    socket4: `ws://${host}/swift03.ws`,
    log1: '/client01/cmd/',
    log2: '/client02/cmd/',
    log3: '/client03/cmd/',
    log4: '/swift03/cmd/',

  };

// 路由链接信息
  static ROUTERLINK: any = {
    basic: {
      home: '/home'
    }
  }
}
